File: /var/www/html/owlcrm/storage/framework/views/39fd0e3b95b32d19539c44e6e66cb508.php
<!-- Button trigger modal -->
<button type="button" class="btn btn-dark btn-sm" data-toggle="modal" data-target="#view_reminder<?php echo e($row->id); ?>">
<i class="fa fa-eye"></i>
</button>
<button type="button" class="btn btn-dark btn-sm" data-toggle="modal" data-target="#edit_reminder<?php echo e($row->id); ?>">
<i class="fa fa-pencil-alt"></i></a>
</button>
<button type="button" class="btn btn-dark btn-sm" data-toggle="modal" data-target="#delete<?php echo e($row->id); ?>">
<i class="fa fa-trash-alt"></i>
</button>
<!-- View Modal -->
<div class="modal fade" id="view_reminder<?php echo e($row->id); ?>" tabindex="-1" role="dialog"
aria-labelledby="viewReminderModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="viewReminderModalLabel">View Reminder</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<strong>Reminder To:</strong> <?php echo e($reminder->user->first_name . ' ' . $reminder->user->last_name); ?><br>
<strong>Description:</strong> <?php echo e($reminder->description); ?><br>
<strong>User:</strong>
<?php echo e($reminder->created_by_user->first_name . ' ' . $reminder->created_by_user->last_name); ?><br>
<strong>Date:</strong> <?php echo e(formatDate($reminder->reminder_date, 'Y/m/d H:i:s')); ?><br>
<strong>Is Notified:</strong> <?php echo e($reminder->is_notified == 0 ? 'no' : 'yes'); ?>
</div>
<div class="modal-footer d-flex justify-content-center">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Edit Modal -->
<div class="modal fade" id="edit_reminder<?php echo e($row->id); ?>" tabindex="-1" role="dialog"
aria-labelledby="editReminderModalLabel<?php echo e($row->id); ?>" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title" id="editReminderModalLabel<?php echo e($row->id); ?>">Edit Reminder</h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<form method="POST" action="<?php echo e(route('updateReminder', $row->id)); ?>" class="jqueryValidation">
<!-- CSRF Token -->
<?php echo csrf_field(); ?>
<div class="modal-body">
<div class="form-group">
<label for="reminder_date">Reminder Date</label>
<input type="datetime-local" class="form-control" id="reminder_date" name="reminder_date"
value="<?php echo e(old('reminder_date', $reminder->reminder_date ? \Carbon\Carbon::parse($reminder->reminder_date)->format('Y-m-d\TH:i') : '')); ?>"
required />
</div>
<div class="form-group">
<label for="reminder_to">Reminder To</label>
<select class="form-control" name="reminder_to" id="reminder_to">
<option value="">--Select--</option>
<?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($user->id); ?>"
<?php echo e(old('reminder_to', $reminder->reminder_to) == $user->id ? 'selected' : ''); ?>>
<?php echo e($user->first_name . ' ' . $user->last_name); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea class="form-control" id="description" name="description" rows="4" required><?php echo e(old('description', $reminder->description)); ?></textarea>
</div>
<div class="form-group">
<input type="checkbox" id="email_notification" name="email_notification" value="1"
<?php echo e(old('email_notification', $reminder->email_notification) ? 'checked' : ''); ?>>
<label for="email_notification">Email Notification</label>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-danger">Update</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</form>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="delete<?php echo e($row->id); ?>" tabindex="-1" role="dialog"
aria-labelledby="deleteReminderModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="deleteReminderModalLabel"><?php echo e($row->name); ?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>This will delete this Lead Reminder permanently</p>
<p>Are you sure?</p>
</div>
<div class="modal-footer">
<form method="POST" action="<?php echo e(route('leadReminder.destroy', $row->id)); ?>">
<!-- CSRF Token -->
<?php echo csrf_field(); ?>
<!-- Hidden input to simulate DELETE method -->
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="btn btn-danger" id="delete_btn" data-id="' . $row->id . '">Yes,
Delete</button>
</form>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<?php /**PATH /var/www/html/owlcrm/resources/views/users/leads/partially/leadreminder-delete.blade.php ENDPATH**/ ?>